| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

StructToString.h
1 // StructToString.h
3 //
5
6 namespace nkWinUi
7 {
11 class StructToString
12 {
13 public :
14
15 // Components
22 static nkMemory::StringView getStringFromComponentType (COMPONENT_TYPE type) ;
29 static COMPONENT_TYPE getComponentTypeFromString (nkMemory::StringView name) ;
30
31 // Layouts
38 static nkMemory::StringView getStringFromLayoutType (LAYOUT_TYPE type) ;
45 static LAYOUT_TYPE getLayoutTypeFromString (nkMemory::StringView name) ;
46 } ;
47 }
nkWinUi::StructToString::getStringFromLayoutType
static nkMemory::StringView getStringFromLayoutType(LAYOUT_TYPE type)
nkWinUi::LAYOUT_TYPE
LAYOUT_TYPE
Defines the type of layout available.
Definition: LayoutType.h:12
nkWinUi::StructToString::getStringFromComponentType
static nkMemory::StringView getStringFromComponentType(COMPONENT_TYPE type)
nkWinUi::COMPONENT_TYPE
COMPONENT_TYPE
Available component types.
Definition: ComponentType.h:12
nkWinUi::StructToString::getComponentTypeFromString
static COMPONENT_TYPE getComponentTypeFromString(nkMemory::StringView name)
nkWinUi::StructToString
Offers utilities to convert from structures or enums to strings, and vice versa.
Definition: StructToString.h:12
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkWinUi::StructToString::getLayoutTypeFromString
static LAYOUT_TYPE getLayoutTypeFromString(nkMemory::StringView name)
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7